package com.huobao.yunying.adapters;

import com.huobao.yunying.entity.FristPageMingpai;
import com.huobao.yunying.utils.ImageUtils;
import com.huobao.zhangying.R;

import android.content.Context;
import android.widget.ImageView;
import joanzapata.android.BaseAdapterHelper;
import joanzapata.android.QuickAdapter;

public class Adapter_FristPage_Grid extends QuickAdapter<FristPageMingpai>{

	public Adapter_FristPage_Grid(Context context) {
		super(context, R.layout.item_mingpai);
	}

	@Override
	protected void convert(BaseAdapterHelper helper, FristPageMingpai arg1) {
		ImageView imageView = helper.getView(R.id.imageview);
		ImageUtils.loadimg(imageView, arg1.getSpic());
	}

}
